<?php
$this->pageTitle=Yii::app()->name . ' - '.UserModule::t("Login");
$this->breadcrumbs=array(
	UserModule::t("Login"),
);
?> 
<div id="content_sec">
        <div class="crumb">
            <ul>
                <li class="here_text txtcufon">&GT;&GT;</li>
                <li><a href="#">Home</a></li>
                <li><a href="#"><?php echo UserModule::t("Login"); ?></a></li>
            </ul>
        </div>
        <div class="clear"></div>
        <h2 class="pd11 pd2"><?php echo UserModule::t("Login"); ?></h2>
        <!--Main Section-->
            <div class="continnesec" >
                <div class="form" >
                <?php echo CHtml::beginForm('','post',array('id'=>'login'));?>
                <?php echo CHtml::errorSummary($model); ?>
                <div class="frmlft_sec">
                <ul>
                    
                    <li><?php echo CHtml::activeLabelEx($model,'username'); ?>: <?php echo CHtml::activeTextField($model,'username') ?></li>
                    <li><?php echo CHtml::activeLabelEx($model,'password'); ?>: <?php echo CHtml::activePasswordField($model,'password') ?></li>
                    <li>
                        <?php echo CHtml::activeCheckBox($model,'rememberMe'); ?>
                        <?php echo CHtml::activeLabelEx($model,'rememberMe'); ?>
                    </li>    
                    <li>
                        <a class="button" href="#" onclick="document.getElementById('login').submit();"><span><?php echo UserModule::t("Login"); ?></span></a>    
                    </li>    

                </ul>	
                    <p class="hint">
                    <?php echo CHtml::link(UserModule::t("Register"),Yii::app()->getModule('user')->registrationUrl); ?> | <?php echo CHtml::link(UserModule::t("Lost Password?"),Yii::app()->getModule('user')->recoveryUrl); ?>
                    </p>
                </div>
                <?php echo CHtml::endForm(); ?>
               </div>
            </div>
            <div class="row rememberMe">
		
	</div>
        
            <div class="clear"></div>
            <div class="botmcont">
                <div class="contactbox">
                    <div class="customer_service">
                        <div class="thmb"> <img  src="images/customerservice.gif"  alt="" /></div>
                        <div class="desc">
                            <h6>Customer Service</h6>
                                <p>1300 924 299</p>
                                <p>Direct: +00-123-4567</p>
                                <p>International: +00-123-4567</p>
                                <p><a href="#">info@website.com</a></p>
                            </div>
                        </div>
                    </div>
                    <div class="contactbox">
                        <div class="showroom_location">
                            <div class="thmb"> <img  src="images/slhowroom.gif"  alt="" /></div>
                            <div class="desc">
                                <h6>McTeas Showroom Location!</h6>
                                <p>McTeas Clothing Pty Ltd</p>
                                <p>McLaren, NSW 2049</p>
                            </div>
                        </div>
                    </div>
                    <div class="contactbox nomar">
                    <div class="office_hour">
                    <div class="thmb"> <img  src="images/office_hours.gif"  alt="" /></div>
                    <div class="desc">
                        <h6>Office Hours</h6>
                        <p>Mon-Fri 10:00am to 5:30pm</p>
                    </div>
                </div>
                </div> 
    <div class="clear"></div>
 </div> 
</div>
<?php
$form = new CForm(array(
    'elements'=>array(
        'username'=>array(
            'type'=>'text',
            'maxlength'=>32,
        ),
        'password'=>array(
            'type'=>'password',
            'maxlength'=>32,
        ),
        'rememberMe'=>array(
            'type'=>'checkbox',
        )
    ),

    'buttons'=>array(
        'login'=>array(
            'type'=>'submit',
            'label'=>'Login',
        ),
    ),
), $model);
?>